package com.haixinga.commbiz.commons.service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.haixinga.commbiz.commons.entity.SysApi;
import org.springframework.stereotype.Service;
import com.haixinga.commbiz.commons.mapper.SysApiMapper;

import java.util.List;

/**
 * <p>
 * 系统 API 接口表 服务实现类
 * </p>
 *
 * @author [mybatis plus generator]
 * @since 2020-06-13
 */
@Service
public class SysApiService extends ServiceImpl<SysApiMapper, SysApi> {

    /** 根據用戶ID 查詢所有的接口ID 結合 **/
    public List<String> selectApiIdsByUserId(Integer userId){
        return baseMapper.selectApiIdsByUserId(userId);
    }


}
